#!/bin/sh

echo "updating lcsc..."
mv ./lcsc /usr/local/bin
if [ $? -ne 0 ]; then
  echo "mv error"
  exit 1 # 终止脚本执行
fi
echo "updated!"